package com.lingnan.service;

import com.lingnan.pojo.Active;
import com.lingnan.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lingnan.vo.UserVo;
import net.minidev.json.JSONObject;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 梁兴达
 * @since 2022-03-06
 */
public interface UserService extends IService<User> {

    User login(UserVo userVo);

    User getByNo(String no);

    boolean register(UserVo userVo);

    List<Active>  noticesList(String no);

    List<Active> activesTodayList(String no);

    User reSetPassword(UserVo userVo);

    JSONObject getEmailCode(String email);
}
